using System.Collections.Generic;
using System.Windows.Documents;

namespace extend_360.dto
{
    public class Config
    {
        /// <summary>
        /// 分辯率
        /// </summary>
        public string[] Ratio { get; set; }
        public List<VPN> VpnConfg { get; set; }
        public Browser BrowserConfig { get; set; }
        public List<Security360> Check360Security { get; set; }

        /// <summary>
        /// 软件配置
        /// </summary>
        public List<SoftInfo> SoftConfig { get; set; }

        public class Point
        {
            /// <summary>
            /// X坐标
            /// </summary>
            public int X { get; set; }

            /// <summary>
            /// Y坐标
            /// </summary>
            public int Y { get; set; }

            public List<Point> PointGroup { get; set; }
        }

        public class Browser
        {
            public Point Points { get; set; }
        }
        /// <summary>
        /// 360安全拦截
        /// </summary>
        public class Security360 {
            public string Ratio { get; set; }
            public List<Point> PointGroup { get; set; }
            /// <summary>
            /// 360 第二种拦截场景
            /// </summary>
            public List<Point> PointGroup2 { get; set; }
        }

        public class VPN
        {
            /// <summary>
            /// VPN地址
            /// </summary>
            public string Address { get; set; }

            /// <summary>
            /// VPN名称
            /// </summary>
            public string Name { get; set; }

            /// <summary>
            /// VPN帐号
            /// </summary>
            public string User { get; set; }

            /// <summary>
            /// VPN密码
            /// </summary>
            public string Pwd { get; set; }
        }

        /// <summary>
        /// 软件配置信息
        /// </summary>
        public class SoftInfo
        {
            /// <summary>
            /// 内类型 1浏览器
            /// </summary>
            public int Type { get; set; }
            public string Name { get; set; }
            public float InstallRatio { get; set; }
            public int InstallOrder { get; set; }
            public string PackageName { get; set; }
            public string InstallParams { get; set; }
            public float RunRatio { get; set; }
            public int RunOrder { get; set; }

            public string WindowName { get; set; }
            public string ClassName { get; set; }

            public List<Point> PointGroup { get; set; }

            public float UninstallRatio { get; set; }
            public string UninstallClassName { get; set; }

            public List<Point> UninstallPoint { get; set; }
        }
    }
}